<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>部门管理</title>
    <style>


    </style>
    <%@include file="/WEB-INF/views/commons/commons.jsp" %>
    <script type="text/javascript" src="/static/js/system/kind.js"></script>
</head>
<body style="padding-left: 100px;">



<!--工具栏-->
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="removeMin">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>

</div>

<div id="tbm">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="addMax">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="editMax">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="removeMax">删除</a>
</div>


<form id="kindList_form" method="post" action="#">

    <table align="center" style="margin-top: 15px">


        <tr>
            <td>
                <table id="large_kinds" class="all_kinds"></table>
            </td>
            <td>
                <table id="mini_kinds" class="all_kinds"></table>

            </td>
        </tr>


    </table>
</form>


<div id="mAdd" style="position:relative">

    <form id="kinds_form" method="post" style="padding-top: 20px;">
        <input type="hidden" name="id" id ="kindId">
        <input type="hidden" name="parent.id" id="parentId">
        <table width="200" align="center">
            <tr>
                <td></td>

                <td>
                    <input class="easyui-textbox" name="name"
                           data-options="prompt:'添加类别',height:30,width:200" id="large_K">
                </td>
                <td></td>
            </tr>


        </table>


    </form>

</div>
<div id="mAddm" style="position:relative">

    <form id="kindsm_form" method="post" style="padding-top: 20px;">
        <input type="hidden" name="id" id ="kind_max_id" >
        <input type="hidden" name="">
        <table width="200" align="center">
            <tr>
                <td></td>

                <td>
                    <input class="easyui-textbox all_kindName" name="name"
                           data-options="prompt:'添加类别',height:30,width:200" >
                </td>
                <td></td>
            </tr>


        </table>


    </form>

</div>
<%--
<div id="edit_dialog" style="position:relative">

    <form id="edit_form" method="post">
        <div>

            <input type="hidden" name="id">
            <input type="hidden" name="parent.id">
            <input class="easyui-textbox" name="name"
                   data-options="height:30,width:100">
        </div>

    </form>

</div>--%>

<!-- 新增编辑底部按钮 -->
<div id="bbtn">
    <a href="#" class="easyui-linkbutton"
       data-options="iconCls:'icon-save',plain:true"
       data-cmd="save">确认</a> <a
        href="#" class="easyui-linkbutton"
        data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
<div id="bbtnm">
    <a href="#" class="easyui-linkbutton"
       data-options="iconCls:'icon-save',plain:true"
       data-cmd="saveMax">确认</a> <a
        href="#" class="easyui-linkbutton"
        data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
</body>
</html>
